import { Injectable, EventEmitter } from '@angular/core';

/**
 * app服务
 */
@Injectable()
export class AppService {
    // 标题
    titleEventEmitter: EventEmitter<string>;

    // 更新 slideshows
    slideshowsRefreshEventEmitter: EventEmitter<string>;

    constructor() {
        this.titleEventEmitter = new EventEmitter();
        this.slideshowsRefreshEventEmitter = new EventEmitter();
    }
}
